#ifndef RGBEDIT_H
#define RGBEDIT_H

#include <Windows.h>
#include <d3dx9.h>

class EditBox;
class StaticText;

class RGBEdit
{
public:
	RGBEdit();
	~RGBEdit();

	bool Setup(HWND a_hWnd, HINSTANCE a_hInst, int a_xPos, int a_yPos, int a_labelWidth, int a_labelHeight, char* a_pLabel);

	//GetR(), GetG(), GetB()
	D3DXCOLOR GetColour();

private:
	StaticText* m_pLabel;

	StaticText* m_r;
	StaticText* m_g;
	StaticText* m_b;

	EditBox* m_rBox;
	EditBox* m_gBox;
	EditBox* m_bBox;
};

#endif //RGBEDIT_H